﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>--%>

<%@ Page Title="装配数据母查询" Language="C#" MasterPageFile="~/site.master"  AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headContent" Runat="Server">
    <style type="text/css">
          .mr
       {
           margin-right:549px   /*右边距*/
       } 
            .breadcrumbcss
       {
           width:1054px;
           margin:20px auto;
       }
            .foodermargin
    {     
    margin:140px auto 0 auto;
     }
        #formdiv1 {
            height: 66px;
        }
    </style>
    <link href="../CSS/bootstrap.css" rel="stylesheet" />
    <link href="../CSS/bootstrap.min.css" rel="stylesheet" />
    <link href="../CSS/allcommonstyle.css" rel="stylesheet" />
      <script src="../js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../js/bootstrap.min.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
     <div class="breadcrumbcss">
      <ol class="breadcrumb ">           
            <li><a href="../MainHtml.aspx">首页</a></li>
            <li><a href="searchMainHtml.aspx">查询</a></li>	
		     <li><a href="Default.aspx" class="active">装配数据母查询</a></li>
        </ol>
    </div>
         <h4 class="headtitle">装配数据母查询</h4>
       <div id="formdiv1"  class="form-horizontal">           
        <div style="margin:20px auto 10px auto;width:928px">                       
                <div class="form-group mb"  style="float:left;margin-left:330px; width: 253px;">
            SN：<asp:TextBox ID="TextBox1" runat="server" Width="177px"></asp:TextBox>
                      </div>
                    <div style=" float:left;margin-left:50px; width: 86px;">
            <asp:Button ID="Button1" runat="server" Text="查 询" ValidationGroup="VGroup1" onclick="Button1_Click" height="30px" CssClass="bluebuttoncss" Width="80px" />
                        </div>
                     <div style=" float:right;margin-right:90px; width: 100px;">
          <asp:Button ID="Return" runat="server" Text="返回上一级"   OnClick="Return_Click" height="30px" CssClass="bluebuttoncss" Width="121px"  />
                          </div>
      
                              
           </div>
           <div style="clear:both">       </div> 
          </div>               
        <div style="text-align:center;margin:5px auto 10px auto;width:825px;">
             <h5 class="headtitle">装配记录</h5>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"  DataKeyNames="SN,IsRoot" onrowdatabound="GridView1_RowDataBound" 
                onselectedindexchanged="GridView1_SelectedIndexChanged" EnableModelValidation="True" HorizontalAlign="Center" Width="817px">
                <RowStyle ForeColor="#000066" />
                <Columns>
                    <asp:CommandField SelectText="查看" ShowSelectButton="True" HeaderText="向上追溯">
                        <ItemStyle Font-Underline="True" ForeColor="Blue" />
                    </asp:CommandField>
                    <asp:BoundField DataField="SN" HeaderText="序列号" />
                    <asp:BoundField DataField="KCC" HeaderText="KCC" />
                    <asp:BoundField DataField="Tcode" HeaderText="Tcode" />
                    <asp:BoundField DataField="RecordTime" HeaderText="记录时间" />
                    <asp:BoundField DataField="UserID" HeaderText="操作员" />
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            </asp:GridView>
           </div>
      <div style="text-align:center;margin:20px auto 10px auto;width:847px;">
             <h5 class="headtitle">装配详细</h5>
          <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False"  BorderWidth="1px" CellPadding="3" 
                 DataKeyNames="IsLeaf" onrowdatabound="GridView2_RowDataBound" EnableModelValidation="True" HorizontalAlign="Center" Width="845px">
                <RowStyle ForeColor="#000066" />
                <Columns>
                    <asp:BoundField DataField="SN" HeaderText="序列号" />
                    <asp:BoundField DataField="SubSN" HeaderText="子件序列号" />
                    <asp:BoundField DataField="KCC" HeaderText="子件KCC" />
                    <asp:BoundField DataField="Tcode" HeaderText="子件Tcode" />
                    <asp:BoundField DataField="Remark" HeaderText="备注" />
                    <asp:HyperLinkField DataNavigateUrlFields="SubSN" HeaderText="向下追溯" 
                        NavigateUrl="~/Default.aspx" Text="查看" 
                        DataNavigateUrlFormatString="~/search/Default.aspx?SN={0}" />
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            </asp:GridView>
          </div>
     <div id="fooder" class="foodercl foodermargin" >
      
       Copyright © 2015-2016 摩比天线（深圳）技术有限公司版权所有

     </div>  
   </asp:Content>
